<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
    <div>This test ensures we properly determine the preferred width for RTL text with word-break: break-word applied.</div>
    <div dir="rtl" style="word-break: break-word;">שלום!</div>
</body>
